#pragma once
#include"Helper.h"
#include<map>
using namespace std;
using namespace YundaTechnology;

class ComponentManager
{

private:
	static ComponentManager* pInstance;
private:
	ComponentManager();
public:
	static ComponentManager* getInstance();
	IComponent* getComponentByID(string componentId);
	~ComponentManager();

private:
	map<string, IComponent*> componentMap;

};

